package kr.hkit.powerjava.chther05;

public class 정수타입 {
	public static void main(String[] args) {
		System.out.println("byte:"+ Byte.MIN_VALUE + "~"+ Byte.MAX_VALUE);
		System.out.println("short:"+ Short.MIN_VALUE+"~"+Short.MAX_VALUE);
		System.out.println("int:"+ Integer.MIN_VALUE+"~"+Integer.MAX_VALUE);
		System.out.println("long:"+Long.MIN_VALUE+"~"+Long.MAX_VALUE);
		System.out.println("flat:"+Float.MIN_VALUE+"~"+Float.MAX_VALUE);
		System.out.println("double"+Double.MIN_VALUE+"~"+Double.MAX_VALUE);
		
		
		byte test;
		test = (byte) 300; //강제형변환
		System.out.println("test"+test);
	}
}
